import torch as t
import torch.nn as nn
import yaml


def print_parameters(model: nn.Module) -> None:
    total_count = 0
    for name, param in model.named_parameters():
        print("Param Name:{} shape:{}".format(name, param.shape))
        total_count += param.numel()

    print("Total parameters: {} Millon".format(total_count / 1000000))
